package com.example.woh.entity.VO;


import com.example.woh.entity.News;
import lombok.Data;

import java.util.List;


@Data
public class NewsPageVO {
    private List<News> newsList;
    private Long total;

    public NewsPageVO(List<News> newsList, Long total) {
        this.newsList = newsList;
        this.total = total;
    }

}